﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

using GpsTagger.Logic;
using GpsTagger.Tests;

namespace GpsTagger
{
    static class Program
    {
        enum RunMode
        {
            Application,
            Test_KMLParser,
            Test_PictureTagger
        };

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            RunMode currentRunMode = RunMode.Application;

            Application.EnableVisualStyles();           
            Application.SetCompatibleTextRenderingDefault(false);

            switch (currentRunMode)
            {
                case RunMode.Application:
                    Application.Run(new mainFrm());
                    break;
                case RunMode.Test_KMLParser:
                    Application.Run(new KMLParserTestFrm());
                    break;
                case RunMode.Test_PictureTagger:
                    Application.Run(new PictureTaggerTestFrm());
                    break;
                default:
                    MessageBox.Show("Unknown runmode!");
                    break;
            }
            
        }
    }
}
